package com.senlingspace.system.domain;

import com.senlingspace.common.core.domain.BaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单状态变更日志表
 *
 * @author lebronjames
 * @date 2024/07/30
 */
public class SlkjOrderStatusLog extends BaseEntity {

    private Long id; // 主键

    private Long orderId; // 订单ID

    // 订单业务状态（对应订单表 business_status）
    // com.senlingspace.common.enums.OrderBusinessStatus
    private String status; // 订单状态

    private Long changeBy; // 操作人


    private Date changeTime; // 状态变更时间



    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getChangeBy() {
        return changeBy;
    }

    public void setChangeBy(Long changeBy) {
        this.changeBy = changeBy;
    }

    public Date getChangeTime() {
        return changeTime;
    }

    public void setChangeTime(Date changeTime) {
        this.changeTime = changeTime;
    }

    @Override
    public String toString() {
        return "SlkjOrderStatusLog{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", status='" + status + '\'' +
                ", changeBy=" + changeBy +
                ", changeTime=" + changeTime +
                '}';
    }
}
